var express = require('express');
var router = express.Router();


const { getOrderList, deleteOneOrder, getOneOrder } = require('../controllers/orders');

router.post('/getAllOrders', getOrderList);
router.delete('/deleteOneOrder', deleteOneOrder);
router.get('/getOneOrder', getOneOrder);

module.exports = router;
